﻿@model MvcAtletIS.Models.Competitors

@{
    ViewBag.Title = "Členovia";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Zobraziť člena: @ViewBag.Clubs.Name</h2>

<fieldset>
    <legend>Detaily</legend>

    <div class="editor-label">
        @Html.LabelFor(model => model.Firstname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Firstname)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Surname)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Birthdate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Birthdate)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Sex)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sex)
    </div>

    <div class="editor-label">
        Klub
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Clubs.Name)
    </div>

    <div class="editor-label">
        Krajina
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Countries.Name)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Competitor)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Competitor)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.CoachClass)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CoachClass)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.RefereeClass)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.RefereeClass)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Active)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Active)
    </div>

    <div class="editor-label">
        @Html.LabelFor(model => model.Sync)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Sync)
    </div>

</fieldset>

<p>
    @Html.ActionLink("Editovať", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Naspäť na prehľad členov", "Index", new { clubId = ViewBag.Clubs.ID})
</p>
